package com.hy.video.monitor.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hy.video.monitor.validation.ValidPassword;
import lombok.Data;

import java.io.Serializable;

@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PasswordDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private String oldPassword;

    @ValidPassword
    private String newPassword;
}
